var Mock = require("mockjs");
import mockObj from "./common";

export default {
  // 地区
  "GET /product/getCityData?_t=1661155641": mockObj({
    result: [
      {
        code: "411000000000",
        level: 4,
        name: "许昌市",
        oldCode: "411000000000",
        oldPcode: "410000000000",
        pcode: "410000000000",
        type: "1"
      }
    ]
  }),
  "GET /product/getCityData?areaCode=411000000000": mockObj({
    result: [
      {
        code: "411002000000",
        level: 5,
        name: "魏都区",
        oldCode: "411002000000",
        oldPcode: "411000000000",
        pcode: "411000000000",
        type: "2",
      },
      {
        code: "411003000000",
        level: 5,
        name: "建安区",
        oldCode: "411003000000",
        oldPcode: "411000000000",
        pcode: "411000000000",
        type: "2"
      },
    ],
  }),
};
